function [over]=updatetime(nowtime,over,CNC_swork)
    for i=1:length(over)
        if(over(i)<=nowtime)
            over(i)=0;
            CNC_swork(i)=1;
        end
    end
end
